package org.travelfusion.xmlclient.ri.xobject.misc;

import java.io.Serializable;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * An "AirlineName" has a "Language", "LanguageCode" and a "Name".
 * @see XAirline
 * @author Jing Hu (hujing1984@gmail.com)
 */
public class XAirlineName implements Serializable, IsSerializable {
	
	private static final long serialVersionUID = 1L;
	
	private String language;
	
	private String languageCode;
	
	private String name;
	
	/**
	 * Returns the language.
	 * @return the language.
	 */
	public String getLanguage() {
		return language;
	}

	/**
	 * Sets the language.
	 * @param language the language.
	 */
	public void setLanguage(String language) {
		this.language = language;
	}

	/**
	 * Returns the languageCode.
	 * @return the languageCode.
	 */
	public String getLanguageCode() {
		return languageCode;
	}

	/**
	 * Sets the languageCode.
	 * @param languageCode the languageCode.
	 */
	public void setLanguageCode(String languageCode) {
		this.languageCode = languageCode;
	}

	/**
	 * Returns the name.
	 * @return the name.
	 */
	public String getName() {
		return name;
	}

	/**
	 * Sets the name.
	 * @param name the name.
	 */
	public void setName(String name) {
		this.name = name;
	}

}
